package com.sxt;

import java.awt.*;

public class FlipObj extends GameObject{
    public FlipObj() {
        super();
    }

    public FlipObj(String image, GameWin frame) {
        super(image, frame);
    }

    public FlipObj(String image, int x, int y, int speedY, GameWin frame) {
        super(image, x, y, speedY, frame);
    }

    @Override
    public void paintSelf(Graphics s) {
        s.drawImage(image,x,y,null);
        //回收
        this.Frame.removeList.add(this);
    }

    @Override
    public Rectangle getRec() {
        return null;
    }

    @Override
    public void DeBug() {
        System.out.println("FlipObj Class");
    }
}
